/**
 * Created by Administrator on 2016/8/10.
 */

$(function(){


    //全选或者反选
    $('.check_all_activity').click(function(){
        if(this.checked){
            console.log(1);
            $("tbody tr :checkbox").prop("checked", true);
        }else{
            console.log(2);
            $("tbody tr :checkbox").prop("checked", false);
        }
    })


})
